/**
 * Project Name:fire-industry-DM-center
 * File Name:Record.java
 * Package Name:com.firestone.bean.entity.elasticsearch.nested
 * Date:2018年4月16日下午1:51:13
 *
*/

package com.firestone.bean.entity.elasticsearch.nested;

import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @Description: TODO(产业地图修改记录)
 * @author CAIYJ
 * @date 2018年4月16日 下午1:51:13
 */
public class Record {

    /**
     * @Fields field : TODO(字段)
     */
    @Field(type = FieldType.keyword)
    private String field;

    /**
     * @Fields before : TODO(修改前)
     */
    @Field(type = FieldType.keyword)
    private String before;

    /**
     * @Fields after : TODO(修改后)
     */
    @Field(type = FieldType.keyword)
    private String after;

    /**
     * @Fields add_time : TODO(添加时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String add_time;

    /**
     * @Fields user_id : TODO(用户ID)
     */
    @Field(type = FieldType.keyword)
    private String user_id;

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getBefore() {
        return before;
    }

    public void setBefore(String before) {
        this.before = before;
    }

    public String getAfter() {
        return after;
    }

    public void setAfter(String after) {
        this.after = after;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }
}
